﻿Imports System.Runtime.CompilerServices

<Serializable>
Public Class UserInfo

    Public Property ID As integer

    ''' <summary>
    '''     用户名
    ''' </summary>
    ''' <returns></returns>
    Public Property LoginID As String

    ''' <summary>
    '''     密码
    ''' </summary>
    ''' <returns></returns>
    Public Property Pwd As String

    ''' <summary>
    ''' 专业课最多学习分数
    ''' </summary>
    ''' <returns></returns>
    Public Property LtmPro As Integer


    ''' <summary>
    ''' 是否自动填写用户名密码
    ''' </summary>
    ''' <returns></returns>
    Public Property IFauto As Integer =0



    sub New

    End sub

    sub New(byref newu As userinfo)
        ID= newu.ID
        LoginID=newu.LoginID
        Pwd=newu.Pwd
        LtmPro=newu.LtmPro
        IFauto= 0
    End sub
    sub New(byval iid As integer, byval lid As String,ByVal ppwd As string,ByVal prolmt As integer,Optional byval auto as integer =0)
        ID= iid 
        LoginID=lid
        Pwd=ppwd
        LtmPro=prolmt
        IFauto= auto
    End sub





End Class